package com.guli.edu.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel(value="ChapterDto对象", description="创建章节DTO对象")
public class ChapterDto {

    @ApiModelProperty(value = "章节ID")
        private String id ;

    @ApiModelProperty(value = "章节名称")
        private String title ;

    @ApiModelProperty(value = "小结部分")
    private List<VideoDto> children = new ArrayList();
}
